#pragma  once
#include "../stdafx.h"


enum {
	TYPE_LOGIN_ROOM,
	TYPE_LOGOUT_ROOM,

	TYPE_KICKOUT_ROOM,
	TYPE_DISCONNET_ROOM,
	TYPE_TEMP_BROKEN,
	TYPE_RECONNECTED,

	TYPE_STREAM_UPDATA,

	TYPE_PLAY_STATE_UPDATE,
	TYPE_PUSH_STATE_UPDATE,

	TYPE_PUASH_QUALITY,
	TYPE_PLULL_QUALITY,

	TYPE_CAPVIDEO_SIZE_CHANGE,

};

extern void _Alog(char *pszformat ...);


#define SAFE_DEL(p) do {if(p){delete p; p= nullptr;}}while(0);